<extend name="Base/common"/> 
<block name="body">
    <div class="row"> 
        <div class="section" id="add_dishes"> 
            <legend><h2>发布会议</h2></legend>
            <form name='meeting' class="form-horizontal" role="form" action="{:U('index/doadd')}" method='POST'> 
                <div class="form-group">
                    <label for="name" class="col-sm-2 control-label">会议名称</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="name" placeholder="会议名称" required maxlength='140'>
                    </div>
                </div>
                <div class="form-group">
                    <label for="address" class="col-sm-2 control-label">地点</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="address" placeholder="地点" required maxlength='140'>
                    </div>
                </div>
                <div class="form-group">
                    <label for="maxin" class="col-sm-2 control-label">最多人数</label>
                    <div class="col-sm-10">
                        <input type="number" class="form-control" name="maxin" title="最多500" max="500" value='100' required maxlength='140'>
                    </div>
                </div>
                <div class="form-group">
                    <label for="yeardate" class="col-sm-2 control-label">日期</label>
                    <div class="col-sm-10">
                        <input type="date" class="form-control" name="yeardate" title="举办日期" required maxlength='140'>
                    </div>
                </div>
                <div class="form-group">
                    <label for="stime" class="col-sm-2 control-label">开始时间</label>
                    <div class="col-sm-10">
                        <input type="time" class="form-control" name="stime" title="开始时间" required maxlength='140'>
                    </div>
                </div>
                <div class="form-group">
                    <label for="etime" class="col-sm-2 control-label">结束时间</label>
                    <div class="col-sm-10">
                        <input type="time" class="form-control" name="etime" title="结束时间" required maxlength='140'>
                    </div>
                </div>
                <div class="form-group">
                    <label for="sponsor" class="col-sm-2 control-label">举办方</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="sponsor" placeholder="举办方名字" required maxlength='140'>
                    </div>
                </div>
                <div class="form-group">
                    <label for="contact" class="col-sm-2 control-label">联系人</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="contact" placeholder="联系人方式" required maxlength='140'>
                    </div>
                </div>
                <div class="form-group">
                    <label for="description" class="col-sm-2 control-label">会议描述</label>
                    <div class="col-sm-10">
                        <textarea  class="form-control" name="description" placeholder="简介" row="5" required maxlength='280'></textarea>
                    </div>
                </div>
                <!--                <div class="form-group">
                                    <div class="col-sm-offset-2 col-sm-10">
                        <div class="checkbox">
                            <label>
                                <input type="checkbox"> Remember me
                            </label>
                        </div>
                    </div>
                                </div>-->
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-primary">发布</button>
                    </div>
                </div>
            </form>
        </div>
    </div> 
</block>